﻿using System.Data.Entity;
using SDCloudSolution.SDCloud.DataLayer.Interfaces;
using SDCloudSolution.SDCloud.Entities.Models;

namespace SDCloudSolution.SDCloud.DataLayer.Model
{
    public class ModelDbContext : DbContext
    {
        public DbSet<ModelEntity> Models { get; set; }

        public DbSet<ModelStatisticsEntity> ModelStatistics { get; set; }

        public DbSet<ModelRunEntity> ModelRuns { get; set; }

        public ModelDbContext(IIdentityDbConnectionStringProvider connectionStringProvider)
            : base(connectionStringProvider.IdentityDbConnectionString)
        {
            
        }
    }
}
